home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / csim / source.lha / source / C++SIM / ProcessCons.h < prev    next >
C/C++ Source or Header  |  1993-06-14  |  510b  |  39 lines

  1. /*
  2.  * Copyright (C) 1993
  3.  *
  4.  * Department of Computing Science,
  5.  * The University,
  6.  * Newcastle upon Tyne,
  7.  * UK.
  8.  */
  9.  
  10. #ifndef PROCESSCONS_H_
  11. #define PROCESSCONS_H_
  12.  
  13. #ifndef COMMON_H_
  14. #include "common.h"
  15. #endif
  16.  
  17. #ifndef PROCESS_H_
  18. #include "Process.h"
  19. #endif
  20.  
  21.  
  22. class ProcessCons
  23. {
  24. public:
  25.     ProcessCons (Process &p, ProcessCons *n);
  26.     Process     *car ();
  27.     ProcessCons *cdr ();
  28.     void SetfCdr (ProcessCons *n);
  29.  
  30. private:
  31.     Process *Proc;
  32.     ProcessCons *Next;
  33. };
  34.  
  35.  
  36. #include "ProcessCons.n"
  37.  
  38. #endif
  39.